package com.mojian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mojian.entity.SysUserCreditLog;
import org.apache.ibatis.annotations.Mapper;

/**
 * 用户信用与成长积分表 Mapper接口
 */
@Mapper
public interface SysUserCreditLogMapper extends BaseMapper<SysUserCreditLog> {

    /**
     * 根据用户ID查询信用积分信息
     * @param userId 用户ID
     * @return 信用积分信息
     */
    SysUserCreditLog selectByUserId(Integer userId);
} 